package com.gisquest.cloud.service;

import com.gisquest.cloud.entity.po.BizLogEntity;
import com.gisquest.cloud.entity.vo.RequestEntity;
import com.gisquest.cloud.entity.vo.RestResult;
import com.gisquest.cloud.entity.vo.SysLogVO;

/**
 * @Author guowei
 * @Date 2020/6/19 10:38
 * @Description:
 **/
public interface EsService {
  RestResult<?> getBizLogFromEs(RequestEntity requestEntity);

  RestResult<?> getSysLogFromEs(SysLogVO sysLogVO);

  RestResult<?> saveBizLogToEs(BizLogEntity bizLogEntity);

  RestResult<?> saveBizLogToRs(BizLogEntity bizLogEntity);

  RestResult<?> saveSysLogToEs(SysLogVO sysLogVO);

  RestResult<?> saveSysLogToRs(SysLogVO sysLogVO);
}
